From: Ansuel Smith Date: Fri, 3 Sep 2021 19:03:47 +0000 (+0200) Subject: luci-mod-dashboard: improve view of label X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=0ce25b08b0a169456bfbbaad2151055102a03af9;p=project%2Fluci.git luci-mod-dashboard: improve view of label There are some problem with label with the material theme. Improve this by removing max-height and setting the label to a static font size. Signed-off-by: Ansuel Smith --- diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css index 62ef169fb5..8db3bbbe14 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css @@ -120,13 +120,15 @@ .Dashboard .settings-info p span:nth-child(2){ display: inline-block; word-break: break-all; - max-width: 150px; overflow: hidden; - max-height: 16px; position: relative; top:2px; } +.Dashboard .settings-info p span:nth-child(2).label { + font-size: 8px; +} + .Dashboard .router-status-info .settings-info p span:nth-child(2){ max-width: 283px; }